{extend name="layout"}
{block name="style"}
<style>
    .jump-page img, .jump-page p {
        display: inline-block;
        vertical-align: middle;
    }
    .jump-page span{
        display: inline-block;
    }

</style>
{/block}
{block name="body"}

<section class="wld-content">
    <div class="container container-user con_box layui-form" style="display: block">
        <input type="hidden" name="" id="" value=""/>
        <div class="jump-page" style="text-align: center;padding-top: 110px;padding-bottom: 60px;">
           <img src="__ROOT__/static/index/img/error.png">
            <p style="display: inline-block; vertical-align: middle;padding-left: 22px">
                <span style="font-size: 24px;color: #ff6663;padding-bottom: 10px">{$info|default=''}</span><br>
                <span style="font-size: 20px;color:#a2a4a4;"><span class="second" style="color: #fe4f4c">3</span>s后自动跳转页面</span>
            </p>
    
    
        </div>
    </div>
    
</section>

{/block}

{block name='script'}
<script>
    var maxtime = 3; //
    var timer = setInterval("CountDown()", 1000);
    function CountDown() {
        if (maxtime >= 0) {
            $(".second").html(maxtime);
            --maxtime;
        } else {
            window.location.href = "/" + "{$url}";
            clearInterval(timer);
        }
    }
</script>

{/block}
{/block}